import { JIANG_SU } from "@/util/constants"

export const tableOption = {
  "align": "center",
  "index": true,
  "border": true,
  "column": [
    { "prop": "username", "type": "input", "label": "用户名", "display": true },
    {
      "prop": "cityId",
      "type": "select",
      "label": "城市",
      "props": { "label": "label", "value": "value" },
      "rules": [{ "message": "请选择城市", "required": true }],
      dicUrl: "/river/sysregion/select/" + JIANG_SU,
      dicMethod: "get",
      "display": true,
      "dataType": "string",
      "required": true,
    },

    { "prop": "nickname", "type": "input", "label": "昵称", "display": true }
  ],
  "gutter": 0,
  "stripe": true,
  "menuBtn": true,
  "emptyBtn": true,
  "emptyText": "清空",
  "menuAlign": "center",
  "submitBtn": true,
  "indexLabel": "序号",
  "labelWidth": 120,
  "submitText": "提交",
  "labelSuffix": "：",
  "menuPosition": "center",
  "labelPosition": "left",
  "searchMenuSpan": 6
}
